<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>发布帖子</title>
    <script src="https://cdn.bootcdn.net/ajax/libs/tinymce/6.0.1/tinymce.min.js"></script>
    <script>
        tinymce.init({
            selector: '#mytextarea'
        });
    </script>
</head>
<body>
<h1>TinyMCE Quick Start Guide</h1>
<form method="post" action="{% url 'Markdown:publish_post' %}">
    {% csrf_token %}
    <p><input type="text" name="title" placeholder="请输入标题"></p>
    <p><input type="number" name="save_number" placeholder="请输入收藏量"></p>
    <textarea id="mytextarea" name="mytextarea">Hello, World!</textarea>
    <p><input type="submit" value="发表"></p>
</form>
</body>
</html>